package qdu.rg012.myrecyclerview;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;

import qdu.rg012.myrecyclerview.R;

public class MyViewHolder extends RecyclerView.ViewHolder {
    ImageView bookimg;
    TextView bookname;
    public MyViewHolder(@NonNull View itemView) {
        super(itemView);
        bookimg = (ImageView) itemView.findViewById(R.id.iv_bookimg);
        //bookname = (TextView) itemView.findViewById(R.id.tv_bookname);
    }
}
